<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        body{
            text-align: center;
        }
        .content{
            display: flex;
            justify-content: space-between;
            flex-wrap: wrap; 
        }
        .box1{
             width: 200px;
             height: 200px;
             background-color: red;
         }
        .box2{
             width: 200px;
             height: 200px;
             background-color: green;
         }
        .box3{
             width: 200px;
             height: 200px;
             background-color: blue;
         }
        .box4{
             width: 200px;
             height: 200px;
             background-color: yellow;
        }
        .butt button{
            position: fixed;
            bottom: 0px;
        }
    </style>
</head>
<body>
    <div class="content">
        <div class="box1" onclick="aclick(this)"></div>
        <div class="box2" onclick="aclick(this)"></div>
        <div class="box3" onclick="aclick(this)"></div>
        <div class="box4" onclick="aclick(this)"></div>
        
    </div>
    <div class="butt"><button style="width: 100px; height: 30px; background-color: red; color: yellow;border: none;">添加</button></div>
    <script src="./index.js"></script>
</body>
</html>